package edu.chl.da.ejb.ctrl;

import edu.chl.da.ejb.core.Airport;
import edu.chl.da.ejb.core.AirportPK;
import edu.chl.da.ejb.core.Destination;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Max
 */
@Remote
public interface IManageAirport {
    public Airport createAirport(String name, Destination destination);
    public Airport editAirport(Airport Airport);
    public boolean removeAirport(Airport Airport);
    public boolean checkAirportNameAvailability(String name, Destination destination);
    public List<Airport> getAllAirports();
    public java.util.List<edu.chl.da.ejb.core.Airport> getAirportsByDestination(edu.chl.da.ejb.core.Destination destination);
    public Airport getAirport(AirportPK airportPK);
}
